home *** CD-ROM | disk | FTP | other *** search
/ The Frank Lloyd Wright Companion / The Frank Lloyd Wright Companion.iso / fullmacapps / macfllwc_small.sit / MacFLLWC_Small / flw.mvb.rsrc / CODE_19_QH Palette.txt < prev    next >
Text File  |  1995-09-30  |  39KB  |  732 lines

  1. # near model CODE resource
  2. # jump table entries: 63232-63235 (4 of them)
  3. 00000000  FFFF                     .extension 0xFFF // unimplemented
  4. 00000002  F700                     .extension 0x700 // unimplemented
  5. 00000004  0000 0704                ori.b      D0, 0x4
  6. fn00000008:
  7. 00000008  2F03                     move.l     -[A7], D3
  8. 0000000A  7000                     moveq.l    D0, 0x00
  9. 0000000C  102F 0008                move.b     D0, [A7 + 0x8]
  10. 00000010  0C80 0000 0011           cmpi.l     D0, 0x11
  11. 00000016  622E                     bhi        +0x30 /* 00000046 */
  12. 00000018  D040                     add.w      D0, D0
  13. 0000001A  303B 0006                move.w     D0, [PC + D0.w + 0x6]
  14. 0000001E  4EFB 0002                jmp        [PC + D0.w + 0x2]
  15. 00000022  002A 002E 0032           ori.b      [A2 + 0x32], 0x2E /* '.' */
  16. 00000028  0036 003A 003E           ori.b      [A6 + D0.w + 0x3E], 0x3A /* ':' */
  17. 0000002E  0032 0042 002E           ori.b      [A2 + D0.w + 0x2E], 0x42 /* 'B' */
  18. 00000034  003A 0032 003E           ori.b      [PC + 0x3E /* 00000074, value 0x0 */], 0x32 /* '2' */
  19. 0000003A  0046 0032                ori.w      D6, 0x32 /* '2' */
  20. 0000003E  004A 003A                ori.w      A2, 0x3A /* ':' */
  21. 00000042  003E 004E                ori.b      <<invalid special address>>, 0x4E /* 'N' */
  22. label00000046:
  23. 00000046  7000                     moveq.l    D0, 0x00
  24. 00000048  261F                     move.l     D3, [A7]+
  25. 0000004A  4E75                     rts
  26. 0000004C  7618                     moveq.l    D3, 0x18
  27. 0000004E  6022                     bra        +0x24 /* 00000072 */
  28. 00000050  7614                     moveq.l    D3, 0x14
  29. 00000052  601E                     bra        +0x20 /* 00000072 */
  30. 00000054  7624                     moveq.l    D3, 0x24
  31. 00000056  601A                     bra        +0x1C /* 00000072 */
  32. 00000058  7625                     moveq.l    D3, 0x25
  33. 0000005A  6016                     bra        +0x18 /* 00000072 */
  34. 0000005C  7612                     moveq.l    D3, 0x12
  35. 0000005E  6012                     bra        +0x14 /* 00000072 */
  36. 00000060  7627                     moveq.l    D3, 0x27
  37. 00000062  600E                     bra        +0x10 /* 00000072 */
  38. 00000064  7619                     moveq.l    D3, 0x19
  39. 00000066  600A                     bra        +0xC /* 00000072 */
  40. 00000068  7615                     moveq.l    D3, 0x15
  41. 0000006A  6006                     bra        +0x8 /* 00000072 */
  42. 0000006C  7626                     moveq.l    D3, 0x26
  43. 0000006E  6002                     bra        +0x4 /* 00000072 */
  44. 00000070  7611                     moveq.l    D3, 0x11
  45. label00000072:
  46. 00000072  2F2F 000A                move.l     -[A7], [A7 + 0xA]
  47. 00000076  2F03                     move.l     -[A7], D3
  48. 00000078  4EBA 0008                jsr        [PC + 0x8 /* 00000082 */]
  49. 0000007C  504F                     addq.w     A7, 8
  50. 0000007E  261F                     move.l     D3, [A7]+
  51. 00000080  4E75                     rts
  52. fn00000082:
  53. 00000082  48E7 1F38                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4
  54. 00000086  4FEF FFF4                lea.l      A7, [A7 - 0xC]
  55. 0000008A  262F 0030                move.l     D3, [A7 + 0x30]
  56. 0000008E  7010                     moveq.l    D0, 0x10
  57. 00000090  9680                     sub.l      D3, D0
  58. 00000092  2003                     move.l     D0, D3
  59. 00000094  7206                     moveq.l    D1, 0x06
  60. 00000096  4EAD D8F8                jsr        [A5 - 0x2708]
  61. 0000009A  41ED CEF8                lea.l      A0, [A5 - 0x3108]
  62. 0000009E  D1C0                     add.l      A0, D0
  63. 000000A0  2448                     movea.l    A2, A0
  64. 000000A2  486F 0006                pea.l      [A7 + 0x6]
  65. 000000A6  7000                     moveq.l    D0, 0x00
  66. 000000A8  3012                     move.w     D0, [A2]
  67. 000000AA  2F00                     move.l     -[A7], D0
  68. 000000AC  4EBA 00A6                jsr        [PC + 0xA6 /* 00000154 */]
  69. 000000B0  4A80                     tst.l      D0
  70. 000000B2  504F                     addq.w     A7, 8
  71. 000000B4  6700 0092                beq        +0x94 /* 00000148 */
  72. 000000B8  4857                     pea.l      [A7]
  73. 000000BA  7000                     moveq.l    D0, 0x00
  74. 000000BC  302A 0002                move.w     D0, [A2 + 0x2]
  75. 000000C0  2F00                     move.l     -[A7], D0
  76. 000000C2  4EBA 0090                jsr        [PC + 0x90 /* 00000154 */]
  77. 000000C6  4A80                     tst.l      D0
  78. 000000C8  504F                     addq.w     A7, 8
  79. 000000CA  677C                     beq        +0x7E /* 00000148 */
  80. 000000CC  266F 0034                movea.l    A3, [A7 + 0x34]
  81. 000000D0  45EF 0006                lea.l      A2, [A7 + 0x6]
  82. 000000D4  49D7                     lea.l      A4, [A7]
  83. 000000D6  2003                     move.l     D0, D3
  84. 000000D8  7206                     moveq.l    D1, 0x06
  85. 000000DA  4EAD D8F8                jsr        [A5 - 0x2708]
  86. 000000DE  41ED CEF8                lea.l      A0, [A5 - 0x3108]
  87. 000000E2  3E30 0804                move.w     D7, [A0 + D0 + 0x4]
  88. 000000E6  0287 0000 FFFF           andi.l     D7, 0xFFFF
  89. 000000EC  CEFC                     mulu.w     D7, 0xFFFFFFFFFFFFFFFF
  90. 000000EE  1111                     move.b     -[A0], [A1]
  91. 000000F0  7A00                     moveq.l    D5, 0x00
  92. 000000F2  6042                     bra        +0x44 /* 00000136 */
  93. label000000F4:
  94. 000000F4  361C                     move.w     D3, [A4]+
  95. 000000F6  B652                     cmp.w      D3, [A2]
  96. 000000F8  55C0                     scs        D0
  97. 000000FA  4400                     neg.b      D0
  98. 000000FC  4880                     ext.w      D0
  99. 000000FE  48C0                     ext.l      D0
  100. 00000100  2800                     move.l     D4, D0
  101. 00000102  9652                     sub.w      D3, [A2]
  102. 00000104  4A84                     tst.l      D4
  103. 00000106  6708                     beq        +0xA /* 00000110 */
  104. 00000108  7000                     moveq.l    D0, 0x00
  105. 0000010A  3003                     move.w     D0, D3
  106. 0000010C  4480                     neg.l      D0
  107. 0000010E  3600                     move.w     D3, D0
  108. label00000110:
  109. 00000110  7000                     moveq.l    D0, 0x00
  110. 00000112  3003                     move.w     D0, D3
  111. 00000114  7200                     moveq.l    D1, 0x00
  112. 00000116  3207                     move.w     D1, D7
  113. 00000118  4EAD D8F8                jsr        [A5 - 0x2708]
  114. 0000011C  2C00                     move.l     D6, D0
  115. 0000011E  2606                     move.l     D3, D6
  116. 00000120  7210                     moveq.l    D1, 0x10
  117. 00000122  E2AB                     lsr        D3, D1
  118. 00000124  4A84                     tst.l      D4
  119. 00000126  6708                     beq        +0xA /* 00000130 */
  120. 00000128  7000                     moveq.l    D0, 0x00
  121. 0000012A  3003                     move.w     D0, D3
  122. 0000012C  4480                     neg.l      D0
  123. 0000012E  3600                     move.w     D3, D0
  124. label00000130:
  125. 00000130  D65A                     add.w      D3, [A2]+
  126. 00000132  36C3                     move.w     [A3]+, D3
  127. 00000134  5285                     addq.l     D5, 1
  128. label00000136:
  129. 00000136  7002                     moveq.l    D0, 0x02
  130. 00000138  BA80                     cmp.l      D5, D0
  131. 0000013A  6FB8                     ble        -0x46 /* 000000F4 */
  132. 0000013C  7001                     moveq.l    D0, 0x01
  133. 0000013E  4FEF 000C                lea.l      A7, [A7 + 0xC]
  134. 00000142  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  135. 00000146  4E75                     rts
  136. label00000148:
  137. 00000148  7000                     moveq.l    D0, 0x00
  138. 0000014A  4FEF 000C                lea.l      A7, [A7 + 0xC]
  139. 0000014E  4CDF 1CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4, [A7]+
  140. 00000152  4E75                     rts
  141. fn00000154:
  142. 00000154  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  143. 00000158  594F                     subq.w     A7, 4
  144. 0000015A  2A2F 001C                move.l     D5, [A7 + 0x1C]
  145. 0000015E  554F                     subq.w     A7, 2
  146. 00000160  42A7                     clr.l      -[A7]
  147. 00000162  486F 0006                pea.l      [A7 + 0x6]
  148. 00000166  AA42                     syscall    GetAuxWin
  149. 00000168  101F                     move.b     D0, [A7]+
  150. 0000016A  4A97                     tst.l      [A7]
  151. 0000016C  6700 009C                beq        +0x9E /* 0000020A */
  152. 00000170  2057                     movea.l    A0, [A7]
  153. 00000172  2050                     movea.l    A0, [A0]
  154. 00000174  2068 0008                movea.l    A0, [A0 + 0x8]
  155. 00000178  2650                     movea.l    A3, [A0]
  156. 0000017A  302B 0006                move.w     D0, [A3 + 0x6]
  157. 0000017E  48C0                     ext.l      D0
  158. 00000180  BA80                     cmp.l      D5, D0
  159. 00000182  6F0A                     ble        +0xC /* 0000018E */
  160. 00000184  7000                     moveq.l    D0, 0x00
  161. 00000186  584F                     addq.w     A7, 4
  162. 00000188  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  163. 0000018C  4E75                     rts
  164. label0000018E:
  165. 0000018E  7800                     moveq.l    D4, 0x00
  166. 00000190  3604                     move.w     D3, D4
  167. 00000192  604C                     bra        +0x4E /* 000001E0 */
  168. label00000194:
  169. 00000194  3443                     movea.w    A2, D3
  170. 00000196  200A                     move.l     D0, A2
  171. 00000198  E788                     lsl        D0, 3
  172. 0000019A  244B                     movea.l    A2, A3
  173. 0000019C  D5C0                     add.l      A2, D0
  174. 0000019E  508A                     addq.l     A2, 8
  175. 000001A0  548A                     addq.l     A2, 2
  176. 000001A2  4A52                     tst.w      [A2]
  177. 000001A4  6738                     beq        +0x3A /* 000001DE */
  178. 000001A6  4A6A 0002                tst.w      [A2 + 0x2]
  179. 000001AA  6732                     beq        +0x34 /* 000001DE */
  180. 000001AC  4A6A 0004                tst.w      [A2 + 0x4]
  181. 000001B0  672C                     beq        +0x2E /* 000001DE */
  182. 000001B2  7000                     moveq.l    D0, 0x00
  183. 000001B4  3012                     move.w     D0, [A2]
  184. 000001B6  0C80 0000 FFFF           cmpi.l     D0, 0xFFFF
  185. 000001BC  661C                     bne        +0x1E /* 000001DA */
  186. 000001BE  7000                     moveq.l    D0, 0x00
  187. 000001C0  302A 0002                move.w     D0, [A2 + 0x2]
  188. 000001C4  0C80 0000 FFFF           cmpi.l     D0, 0xFFFF
  189. 000001CA  660E                     bne        +0x10 /* 000001DA */
  190. 000001CC  7000                     moveq.l    D0, 0x00
  191. 000001CE  302A 0004                move.w     D0, [A2 + 0x4]
  192. 000001D2  0C80 0000 FFFF           cmpi.l     D0, 0xFFFF
  193. 000001D8  6704                     beq        +0x6 /* 000001DE */
  194. label000001DA:
  195. 000001DA  5284                     addq.l     D4, 1
  196. 000001DC  6008                     bra        +0xA /* 000001E6 */
  197. label000001DE:
  198. 000001DE  5243                     addq.w     D3, 1
  199. label000001E0:
  200. 000001E0  B66B 0006                cmp.w      D3, [A3 + 0x6]
  201. 000001E4  6DAE                     blt        -0x50 /* 00000194 */
  202. label000001E6:
  203. 000001E6  4A84                     tst.l      D4
  204. 000001E8  6720                     beq        +0x22 /* 0000020A */
  205. 000001EA  2005                     move.l     D0, D5
  206. 000001EC  E788                     lsl        D0, 3
  207. 000001EE  204B                     movea.l    A0, A3
  208. 000001F0  D1C0                     add.l      A0, D0
  209. 000001F2  226F 0020                movea.l    A1, [A7 + 0x20]
  210. 000001F6  22A8 000A                move.l     [A1], [A0 + 0xA]
  211. 000001FA  3368 000E 0004           move.w     [A1 + 0x4], [A0 + 0xE]
  212. 00000200  7001                     moveq.l    D0, 0x01
  213. 00000202  584F                     addq.w     A7, 4
  214. 00000204  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  215. 00000208  4E75                     rts
  216. label0000020A:
  217. 0000020A  7000                     moveq.l    D0, 0x00
  218. 0000020C  584F                     addq.w     A7, 4
  219. 0000020E  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  220. 00000212  4E75                     rts
  221. 00000214  48E7 0030                movem.l    -[A7], A2,A3
  222. 00000218  266F 0012                movea.l    A3, [A7 + 0x12]
  223. 0000021C  203C 0000 0610           move.l     D0, 0x610
  224. 00000222  A322                     syscall    NewHandleClear, flags=3
  225. 00000224  2448                     movea.l    A2, A0
  226. 00000226  554F                     subq.w     A7, 2
  227. 00000228  3EB8 0220                move.w     [A7], [0x00000220 /* MemErr */]
  228. 0000022C  301F                     move.w     D0, [A7]+
  229. 0000022E  3680                     move.w     [A3], D0
  230. 00000230  4A53                     tst.w      [A3]
  231. 00000232  661A                     bne        +0x1C /* 0000024E */
  232. 00000234  7000                     moveq.l    D0, 0x00
  233. 00000236  102D 81A0                move.b     D0, [A5 - 0x7E60]
  234. 0000023A  7202                     moveq.l    D1, 0x02
  235. 0000023C  B081                     cmp.l      D0, D1
  236. 0000023E  6D0E                     blt        +0x10 /* 0000024E */
  237. 00000240  3F2F 0010                move.w     -[A7], [A7 + 0x10]
  238. 00000244  2F0A                     move.l     -[A7], A2
  239. 00000246  4EBA 038C                jsr        [PC + 0x38C /* 000005D4 */]
  240. 0000024A  3680                     move.w     [A3], D0
  241. 0000024C  5C4F                     addq.w     A7, 6
  242. label0000024E:
  243. 0000024E  204A                     movea.l    A0, A2
  244. 00000250  4CDF 0C00                movem.l    A2,A3, [A7]+
  245. 00000254  4E75                     rts
  246. 00000256  4AAF 0004                tst.l      [A7 + 0x4]
  247. 0000025A  6706                     beq        +0x8 /* 00000262 */
  248. 0000025C  206F 0004                movea.l    A0, [A7 + 0x4]
  249. 00000260  A023                     syscall    DisposHandle/DisposeHandle
  250. label00000262:
  251. 00000262  4E75                     rts
  252. fn00000264:
  253. 00000264  48E7 183A                movem.l    -[A7], D3,D4,A2,A3,A4,A6
  254. 00000268  514F                     subq.w     A7, 8
  255. 0000026A  2C6F 0024                movea.l    A6, [A7 + 0x24]
  256. 0000026E  286F 0028                movea.l    A4, [A7 + 0x28]
  257. 00000272  266F 002C                movea.l    A3, [A7 + 0x2C]
  258. 00000276  282F 0030                move.l     D4, [A7 + 0x30]
  259. 0000027A  260E                     move.l     D3, A6
  260. 0000027C  2043                     movea.l    A0, D3
  261. 0000027E  2450                     movea.l    A2, [A0]
  262. 00000280  7600                     moveq.l    D3, 0x00
  263. 00000282  4AAD A97A                tst.l      [A5 - 0x5686]
  264. 00000286  6610                     bne        +0x12 /* 00000298 */
  265. 00000288  7000                     moveq.l    D0, 0x00
  266. 0000028A  102D 81A0                move.b     D0, [A5 - 0x7E60]
  267. 0000028E  7202                     moveq.l    D1, 0x02
  268. 00000290  B081                     cmp.l      D0, D1
  269. 00000292  6D04                     blt        +0x6 /* 00000298 */
  270. 00000294  4A84                     tst.l      D4
  271. 00000296  670A                     beq        +0xC /* 000002A2 */
  272. label00000298:
  273. 00000298  7000                     moveq.l    D0, 0x00
  274. 0000029A  504F                     addq.w     A7, 8
  275. 0000029C  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  276. 000002A0  4E75                     rts
  277. label000002A2:
  278. 000002A2  200C                     move.l     D0, A4
  279. 000002A4  661E                     bne        +0x20 /* 000002C4 */
  280. 000002A6  200B                     move.l     D0, A3
  281. 000002A8  661A                     bne        +0x1C /* 000002C4 */
  282. 000002AA  4A84                     tst.l      D4
  283. 000002AC  6616                     bne        +0x18 /* 000002C4 */
  284. 000002AE  256A 0604 0600           move.l     [A2 + 0x600], [A2 + 0x604]
  285. 000002B4  256A 0604 0608           move.l     [A2 + 0x608], [A2 + 0x604]
  286. 000002BA  7000                     moveq.l    D0, 0x00
  287. 000002BC  504F                     addq.w     A7, 8
  288. 000002BE  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  289. 000002C2  4E75                     rts
  290. label000002C4:
  291. 000002C4  0CAA 0000 0100 0608      cmpi.l     [A2 + 0x608], 0x100
  292. 000002CC  6D0A                     blt        +0xC /* 000002D8 */
  293. 000002CE  7000                     moveq.l    D0, 0x00
  294. 000002D0  504F                     addq.w     A7, 8
  295. 000002D2  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  296. 000002D6  4E75                     rts
  297. label000002D8:
  298. 000002D8  200C                     move.l     D0, A4
  299. 000002DA  6722                     beq        +0x24 /* 000002FE */
  300. 000002DC  2F54 0002                move.l     [A7 + 0x2], [A4]
  301. 000002E0  3F6C 0004 0006           move.w     [A7 + 0x6], [A4 + 0x4]
  302. 000002E6  4878 0001                push.l     0x1
  303. 000002EA  486F 0004                pea.l      [A7 + 0x4]
  304. 000002EE  2F0E                     move.l     -[A7], A6
  305. 000002F0  4EBA 0152                jsr        [PC + 0x152 /* 00000444 */]
  306. 000002F4  4FEF 0014                lea.l      A7, [A7 + 0x14]
  307. 000002F8  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  308. 000002FC  4E75                     rts
  309. label000002FE:
  310. 000002FE  2053                     movea.l    A0, [A3]
  311. 00000300  3828 0006                move.w     D4, [A0 + 0x6]
  312. 00000304  48C4                     ext.l      D4
  313. 00000306  5284                     addq.l     D4, 1
  314. 00000308  2F04                     move.l     -[A7], D4
  315. 0000030A  2053                     movea.l    A0, [A3]
  316. 0000030C  4868 0008                pea.l      [A0 + 0x8]
  317. 00000310  2F0E                     move.l     -[A7], A6
  318. 00000312  4EBA 0130                jsr        [PC + 0x130 /* 00000444 */]
  319. 00000316  3600                     move.w     D3, D0
  320. 00000318  3003                     move.w     D0, D3
  321. 0000031A  4FEF 0014                lea.l      A7, [A7 + 0x14]
  322. 0000031E  4CDF 5C18                movem.l    D3,D4,A2,A3,A4,A6, [A7]+
  323. 00000322  4E75                     rts
  324. 00000324  48E7 1F3A                movem.l    -[A7], D3,D4,D5,D6,D7,A2,A3,A4,A6
  325. 00000328  286F 002C                movea.l    A4, [A7 + 0x2C]
  326. 0000032C  2C6F 0028                movea.l    A6, [A7 + 0x28]
  327. 00000330  2456                     movea.l    A2, [A6]
  328. 00000332  7C01                     moveq.l    D6, 0x01
  329. 00000334  282A 0600                move.l     D4, [A2 + 0x600]
  330. 00000338  262A 0604                move.l     D3, [A2 + 0x604]
  331. 0000033C  2543 0600                move.l     [A2 + 0x600], D3
  332. 00000340  2543 0608                move.l     [A2 + 0x608], D3
  333. 00000344  7000                     moveq.l    D0, 0x00
  334. 00000346  102D 81A0                move.b     D0, [A5 - 0x7E60]
  335. 0000034A  7202                     moveq.l    D1, 0x02
  336. 0000034C  B081                     cmp.l      D0, D1
  337. 0000034E  6D08                     blt        +0xA /* 00000358 */
  338. 00000350  082A 0007 060C           btst.b     [A2 + 0x60C], 0x7
  339. 00000356  6606                     bne        +0x8 /* 0000035E */
  340. label00000358:
  341. 00000358  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  342. 0000035C  4E75                     rts
  343. label0000035E:
  344. 0000035E  022A 007F 060C           andi.b     [A2 + 0x60C], 0x7F
  345. 00000364  53AD AD12                subq.l     [A5 - 0x52EE], 1
  346. 00000368  594F                     subq.w     A7, 4
  347. 0000036A  2F0C                     move.l     -[A7], A4
  348. 0000036C  AA96                     syscall    GetPalette
  349. 0000036E  205F                     movea.l    A0, [A7]+
  350. 00000370  2648                     movea.l    A3, A0
  351. 00000372  200B                     move.l     D0, A3
  352. 00000374  6620                     bne        +0x22 /* 00000396 */
  353. 00000376  594F                     subq.w     A7, 4
  354. 00000378  3F04                     move.w     -[A7], D4
  355. 0000037A  42A7                     clr.l      -[A7]
  356. 0000037C  4878 0002                push.l     0x2
  357. 00000380  AA91                     syscall    NewPalette
  358. 00000382  205F                     movea.l    A0, [A7]+
  359. 00000384  2648                     movea.l    A3, A0
  360. 00000386  200B                     move.l     D0, A3
  361. 00000388  6608                     bne        +0xA /* 00000392 */
  362. 0000038A  7094                     moveq.l    D0, 0xFFFFFF94
  363. 0000038C  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  364. 00000390  4E75                     rts
  365. label00000392:
  366. 00000392  7A01                     moveq.l    D5, 0x01
  367. 00000394  6032                     bra        +0x34 /* 000003C8 */
  368. label00000396:
  369. 00000396  7A00                     moveq.l    D5, 0x00
  370. 00000398  2053                     movea.l    A0, [A3]
  371. 0000039A  3E10                     move.w     D7, [A0]
  372. 0000039C  48C7                     ext.l      D7
  373. 0000039E  BE84                     cmp.l      D7, D4
  374. 000003A0  6726                     beq        +0x28 /* 000003C8 */
  375. 000003A2  7C00                     moveq.l    D6, 0x00
  376. 000003A4  2F0C                     move.l     -[A7], A4
  377. 000003A6  4EBA 032E                jsr        [PC + 0x32E /* 000006D6 */]
  378. 000003AA  2F0B                     move.l     -[A7], A3
  379. 000003AC  3F04                     move.w     -[A7], D4
  380. 000003AE  7003                     moveq.l    D0, 0x03
  381. 000003B0  AAA2                     syscall    PaletteDispatch
  382. 000003B2  2607                     move.l     D3, D7
  383. 000003B4  584F                     addq.w     A7, 4
  384. 000003B6  600C                     bra        +0xE /* 000003C4 */
  385. label000003B8:
  386. 000003B8  2F0B                     move.l     -[A7], A3
  387. 000003BA  3F03                     move.w     -[A7], D3
  388. 000003BC  4878 0002                push.l     0x2
  389. 000003C0  AA9E                     syscall    SetEntryUsage
  390. 000003C2  5283                     addq.l     D3, 1
  391. label000003C4:
  392. 000003C4  B684                     cmp.l      D3, D4
  393. 000003C6  6DF0                     blt        -0xE /* 000003B8 */
  394. label000003C8:
  395. 000003C8  2456                     movea.l    A2, [A6]
  396. 000003CA  7600                     moveq.l    D3, 0x00
  397. 000003CC  6012                     bra        +0x14 /* 000003E0 */
  398. label000003CE:
  399. 000003CE  2F0A                     move.l     -[A7], A2
  400. 000003D0  2F13                     move.l     -[A7], [A3]
  401. 000003D2  4EBA 0188                jsr        [PC + 0x188 /* 0000055C */]
  402. 000003D6  4A80                     tst.l      D0
  403. 000003D8  504F                     addq.w     A7, 8
  404. 000003DA  6708                     beq        +0xA /* 000003E4 */
  405. 000003DC  5283                     addq.l     D3, 1
  406. 000003DE  5C8A                     addq.l     A2, 6
  407. label000003E0:
  408. 000003E0  B684                     cmp.l      D3, D4
  409. 000003E2  6DEA                     blt        -0x14 /* 000003CE */
  410. label000003E4:
  411. 000003E4  B684                     cmp.l      D3, D4
  412. 000003E6  6D08                     blt        +0xA /* 000003F0 */
  413. 000003E8  7000                     moveq.l    D0, 0x00
  414. 000003EA  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  415. 000003EE  4E75                     rts
  416. label000003F0:
  417. 000003F0  4A86                     tst.l      D6
  418. 000003F2  6708                     beq        +0xA /* 000003FC */
  419. 000003F4  2F0C                     move.l     -[A7], A4
  420. 000003F6  4EBA 02DE                jsr        [PC + 0x2DE /* 000006D6 */]
  421. 000003FA  584F                     addq.w     A7, 4
  422. label000003FC:
  423. 000003FC  2456                     movea.l    A2, [A6]
  424. 000003FE  7600                     moveq.l    D3, 0x00
  425. 00000400  600C                     bra        +0xE /* 0000040E */
  426. label00000402:
  427. 00000402  2F0B                     move.l     -[A7], A3
  428. 00000404  3F03                     move.w     -[A7], D3
  429. 00000406  2F0A                     move.l     -[A7], A2
  430. 00000408  AA9C                     syscall    SetEntryColor
  431. 0000040A  5283                     addq.l     D3, 1
  432. 0000040C  5C8A                     addq.l     A2, 6
  433. label0000040E:
  434. 0000040E  B684                     cmp.l      D3, D4
  435. 00000410  6DF0                     blt        -0xE /* 00000402 */
  436. 00000412  4A85                     tst.l      D5
  437. 00000414  670C                     beq        +0xE /* 00000422 */
  438. 00000416  2F0C                     move.l     -[A7], A4
  439. 00000418  2F0B                     move.l     -[A7], A3
  440. 0000041A  3F3C E000                move.w     -[A7], 0xE000
  441. 0000041E  AA95                     syscall    SetPalette/NSetPalette
  442. 00000420  6004                     bra        +0x6 /* 00000426 */
  443. label00000422:
  444. 00000422  2F0C                     move.l     -[A7], A4
  445. 00000424  AA94                     syscall    ActivatePalette
  446. label00000426:
  447. 00000426  594F                     subq.w     A7, 4
  448. 00000428  206D 1342                movea.l    A0, [A5 + 0x1342 /* export_612 */]
  449. 0000042C  4E90                     jsr        [A0]
  450. 0000042E  205F                     movea.l    A0, [A7]+
  451. 00000430  B9C8                     cmpa.l     A4, A0
  452. 00000432  6608                     bne        +0xA /* 0000043C */
  453. 00000434  2F0C                     move.l     -[A7], A4
  454. 00000436  4EAD DBCE                jsr        [A5 - 0x2432]
  455. 0000043A  584F                     addq.w     A7, 4
  456. label0000043C:
  457. 0000043C  7000                     moveq.l    D0, 0x00
  458. 0000043E  4CDF 5CF8                movem.l    D3,D4,D5,D6,D7,A2,A3,A4,A6, [A7]+
  459. 00000442  4E75                     rts
  460. fn00000444:
  461. 00000444  48E7 1C3A                movem.l    -[A7], D3,D4,D5,A2,A3,A4,A6
  462. 00000448  266F 0024                movea.l    A3, [A7 + 0x24]
  463. 0000044C  282F 0028                move.l     D4, [A7 + 0x28]
  464. 00000450  206F 0020                movea.l    A0, [A7 + 0x20]
  465. 00000454  2450                     movea.l    A2, [A0]
  466. 00000456  7A00                     moveq.l    D5, 0x00
  467. 00000458  0CAA 0000 0100 0608      cmpi.l     [A2 + 0x608], 0x100
  468. 00000460  6D08                     blt        +0xA /* 0000046A */
  469. 00000462  7000                     moveq.l    D0, 0x00
  470. 00000464  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  471. 00000468  4E75                     rts
  472. label0000046A:
  473. 0000046A  2C4A                     movea.l    A6, A2
  474. 0000046C  4DEE 0600                lea.l      A6, [A6 + 0x600]
  475. 00000470  202A 0608                move.l     D0, [A2 + 0x608]
  476. 00000474  7206                     moveq.l    D1, 0x06
  477. 00000476  4EAD D8F8                jsr        [A5 - 0x2708]
  478. 0000047A  204A                     movea.l    A0, A2
  479. 0000047C  D1C0                     add.l      A0, D0
  480. 0000047E  2848                     movea.l    A4, A0
  481. 00000480  7600                     moveq.l    D3, 0x00
  482. 00000482  604A                     bra        +0x4C /* 000004CE */
  483. label00000484:
  484. 00000484  202A 0600                move.l     D0, [A2 + 0x600]
  485. 00000488  5280                     addq.l     D0, 1
  486. 0000048A  0C80 0000 0100           cmpi.l     D0, 0x100
  487. 00000490  6C40                     bge        +0x42 /* 000004D2 */
  488. 00000492  486B 0002                pea.l      [A3 + 0x2]
  489. 00000496  2F0A                     move.l     -[A7], A2
  490. 00000498  4EBA 0050                jsr        [PC + 0x50 /* 000004EA */]
  491. 0000049C  4A80                     tst.l      D0
  492. 0000049E  504F                     addq.w     A7, 8
  493. 000004A0  6628                     bne        +0x2A /* 000004CA */
  494. 000004A2  082A 0007 060C           btst.b     [A2 + 0x60C], 0x7
  495. 000004A8  660A                     bne        +0xC /* 000004B4 */
  496. 000004AA  52AD AD12                addq.l     [A5 - 0x52EE], 1
  497. 000004AE  002A 0080 060C           ori.b      [A2 + 0x60C], 0x80
  498. label000004B4:
  499. 000004B4  204C                     movea.l    A0, A4
  500. 000004B6  5C8C                     addq.l     A4, 6
  501. 000004B8  20AB 0002                move.l     [A0], [A3 + 0x2]
  502. 000004BC  316B 0006 0004           move.w     [A0 + 0x4], [A3 + 0x6]
  503. 000004C2  B9CE                     cmpa.l     A4, A6
  504. 000004C4  640C                     bcc        +0xE /* 000004D2 */
  505. 000004C6  52AA 0600                addq.l     [A2 + 0x600], 1
  506. label000004CA:
  507. 000004CA  5283                     addq.l     D3, 1
  508. 000004CC  508B                     addq.l     A3, 8
  509. label000004CE:
  510. 000004CE  B684                     cmp.l      D3, D4
  511. 000004D0  6DB2                     blt        -0x4C /* 00000484 */
  512. label000004D2:
  513. 000004D2  204C                     movea.l    A0, A4
  514. 000004D4  91CA                     sub.l      A0, A2
  515. 000004D6  2008                     move.l     D0, A0
  516. 000004D8  7206                     moveq.l    D1, 0x06
  517. 000004DA  4EAD D904                jsr        [A5 - 0x26FC]
  518. 000004DE  2540 0608                move.l     [A2 + 0x608], D0
  519. 000004E2  3005                     move.w     D0, D5
  520. 000004E4  4CDF 5C38                movem.l    D3,D4,D5,A2,A3,A4,A6, [A7]+
  521. 000004E8  4E75                     rts
  522. fn000004EA:
  523. 000004EA  48E7 0808                movem.l    -[A7], D4,A4
  524. 000004EE  286F 000C                movea.l    A4, [A7 + 0xC]
  525. 000004F2  226F 0010                movea.l    A1, [A7 + 0x10]
  526. 000004F6  204C                     movea.l    A0, A4
  527. 000004F8  282C 0600                move.l     D4, [A4 + 0x600]
  528. 000004FC  7400                     moveq.l    D2, 0x00
  529. 000004FE  6050                     bra        +0x52 /* 00000550 */
  530. label00000500:
  531. 00000500  3011                     move.w     D0, [A1]
  532. 00000502  0280 0000 FF00           andi.l     D0, 0xFF00
  533. 00000508  3210                     move.w     D1, [A0]
  534. 0000050A  0281 0000 FF00           andi.l     D1, 0xFF00
  535. 00000510  B280                     cmp.l      D1, D0
  536. 00000512  6638                     bne        +0x3A /* 0000054C */
  537. 00000514  3029 0002                move.w     D0, [A1 + 0x2]
  538. 00000518  0280 0000 FF00           andi.l     D0, 0xFF00
  539. 0000051E  3228 0002                move.w     D1, [A0 + 0x2]
  540. 00000522  0281 0000 FF00           andi.l     D1, 0xFF00
  541. 00000528  B280                     cmp.l      D1, D0
  542. 0000052A  6620                     bne        +0x22 /* 0000054C */
  543. 0000052C  3029 0004                move.w     D0, [A1 + 0x4]
  544. 00000530  0280 0000 FF00           andi.l     D0, 0xFF00
  545. 00000536  3228 0004                move.w     D1, [A0 + 0x4]
  546. 0000053A  0281 0000 FF00           andi.l     D1, 0xFF00
  547. 00000540  B280                     cmp.l      D1, D0
  548. 00000542  6608                     bne        +0xA /* 0000054C */
  549. 00000544  7001                     moveq.l    D0, 0x01
  550. 00000546  4CDF 1010                movem.l    D4,A4, [A7]+
  551. 0000054A  4E75                     rts
  552. label0000054C:
  553. 0000054C  5282                     addq.l     D2, 1
  554. 0000054E  5C88                     addq.l     A0, 6
  555. label00000550:
  556. 00000550  B484                     cmp.l      D2, D4
  557. 00000552  6DAC                     blt        -0x52 /* 00000500 */
  558. 00000554  7000                     moveq.l    D0, 0x00
  559. 00000556  4CDF 1010                movem.l    D4,A4, [A7]+
  560. 0000055A  4E75                     rts
  561. fn0000055C:
  562. 0000055C  48E7 0808                movem.l    -[A7], D4,A4
  563. 00000560  286F 000C                movea.l    A4, [A7 + 0xC]
  564. 00000564  226F 0010                movea.l    A1, [A7 + 0x10]
  565. 00000568  204C                     movea.l    A0, A4
  566. 0000056A  5088                     addq.l     A0, 8
  567. 0000056C  5088                     addq.l     A0, 8
  568. 0000056E  3814                     move.w     D4, [A4]
  569. 00000570  48C4                     ext.l      D4
  570. 00000572  7400                     moveq.l    D2, 0x00
  571. 00000574  6052                     bra        +0x54 /* 000005C8 */
  572. label00000576:
  573. 00000576  3011                     move.w     D0, [A1]
  574. 00000578  0280 0000 FF00           andi.l     D0, 0xFF00
  575. 0000057E  3210                     move.w     D1, [A0]
  576. 00000580  0281 0000 FF00           andi.l     D1, 0xFF00
  577. 00000586  B280                     cmp.l      D1, D0
  578. 00000588  6638                     bne        +0x3A /* 000005C2 */
  579. 0000058A  3029 0002                move.w     D0, [A1 + 0x2]
  580. 0000058E  0280 0000 FF00           andi.l     D0, 0xFF00
  581. 00000594  3228 0002                move.w     D1, [A0 + 0x2]
  582. 00000598  0281 0000 FF00           andi.l     D1, 0xFF00
  583. 0000059E  B280                     cmp.l      D1, D0
  584. 000005A0  6620                     bne        +0x22 /* 000005C2 */
  585. 000005A2  3029 0004                move.w     D0, [A1 + 0x4]
  586. 000005A6  0280 0000 FF00           andi.l     D0, 0xFF00
  587. 000005AC  3228 0004                move.w     D1, [A0 + 0x4]
  588. 000005B0  0281 0000 FF00           andi.l     D1, 0xFF00
  589. 000005B6  B280                     cmp.l      D1, D0
  590. 000005B8  6608                     bne        +0xA /* 000005C2 */
  591. 000005BA  7001                     moveq.l    D0, 0x01
  592. 000005BC  4CDF 1010                movem.l    D4,A4, [A7]+
  593. 000005C0  4E75                     rts
  594. label000005C2:
  595. 000005C2  5282                     addq.l     D2, 1
  596. 000005C4  7010                     moveq.l    D0, 0x10
  597. 000005C6  D1C0                     add.l      A0, D0
  598. label000005C8:
  599. 000005C8  B484                     cmp.l      D2, D4
  600. 000005CA  6DAA                     blt        -0x54 /* 00000576 */
  601. 000005CC  7000                     moveq.l    D0, 0x00
  602. 000005CE  4CDF 1010                movem.l    D4,A4, [A7]+
  603. 000005D2  4E75                     rts
  604. fn000005D4:
  605. 000005D4  48E7 1C30                movem.l    -[A7], D3,D4,D5,A2,A3
  606. 000005D8  5D4F                     subq.w     A7, 6
  607. 000005DA  266F 001E                movea.l    A3, [A7 + 0x1E]
  608. 000005DE  7600                     moveq.l    D3, 0x00
  609. 000005E0  594F                     subq.w     A7, 4
  610. 000005E2  302D 135E                move.w     D0, [A5 + 0x135E]
  611. 000005E6  48C0                     ext.l      D0
  612. 000005E8  0680 0000 0080           addi.l     D0, 0x80
  613. 000005EE  3F00                     move.w     -[A7], D0
  614. 000005F0  AA18                     syscall    GetCTable
  615. 000005F2  205F                     movea.l    A0, [A7]+
  616. 000005F4  2448                     movea.l    A2, A0
  617. 000005F6  200A                     move.l     D0, A2
  618. 000005F8  660A                     bne        +0xC /* 00000604 */
  619. 000005FA  7094                     moveq.l    D0, 0xFFFFFF94
  620. 000005FC  5C4F                     addq.w     A7, 6
  621. 000005FE  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  622. 00000602  4E75                     rts
  623. label00000604:
  624. 00000604  42A7                     clr.l      -[A7]
  625. 00000606  2F0A                     move.l     -[A7], A2
  626. 00000608  42A7                     clr.l      -[A7]
  627. 0000060A  2F0B                     move.l     -[A7], A3
  628. 0000060C  4EBA FC56                jsr        [PC - 0x3AA /* 00000264 */]
  629. 00000610  3600                     move.w     D3, D0
  630. 00000612  2F0A                     move.l     -[A7], A2
  631. 00000614  AA24                     syscall    DisposeCTable/DisposCTable
  632. 00000616  7800                     moveq.l    D4, 0x00
  633. 00000618  4FEF 0010                lea.l      A7, [A7 + 0x10]
  634. 0000061C  6032                     bra        +0x34 /* 00000650 */
  635. label0000061E:
  636. 0000061E  4857                     pea.l      [A7]
  637. 00000620  1F04                     move.b     -[A7], D4
  638. 00000622  4EBA F9E4                jsr        [PC - 0x61C /* 00000008 */]
  639. 00000626  4A80                     tst.l      D0
  640. 00000628  5C4F                     addq.w     A7, 6
  641. 0000062A  6722                     beq        +0x24 /* 0000064E */
  642. 0000062C  42A7                     clr.l      -[A7]
  643. 0000062E  42A7                     clr.l      -[A7]
  644. 00000630  486F 0008                pea.l      [A7 + 0x8]
  645. 00000634  2F0B                     move.l     -[A7], A3
  646. 00000636  4EBA FC2C                jsr        [PC - 0x3D4 /* 00000264 */]
  647. 0000063A  3600                     move.w     D3, D0
  648. 0000063C  4A43                     tst.w      D3
  649. 0000063E  4FEF 0010                lea.l      A7, [A7 + 0x10]
  650. 00000642  670A                     beq        +0xC /* 0000064E */
  651. 00000644  3003                     move.w     D0, D3
  652. 00000646  5C4F                     addq.w     A7, 6
  653. 00000648  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  654. 0000064C  4E75                     rts
  655. label0000064E:
  656. 0000064E  5284                     addq.l     D4, 1
  657. label00000650:
  658. 00000650  7011                     moveq.l    D0, 0x11
  659. 00000652  B880                     cmp.l      D4, D0
  660. 00000654  6FC8                     ble        -0x36 /* 0000061E */
  661. 00000656  4A43                     tst.w      D3
  662. 00000658  665A                     bne        +0x5C /* 000006B4 */
  663. 0000065A  4EAD DB08                jsr        [A5 - 0x24F8]
  664. 0000065E  3A00                     move.w     D5, D0
  665. 00000660  3F2F 0022                move.w     -[A7], [A7 + 0x22]
  666. 00000664  4EAD DB0E                jsr        [A5 - 0x24F2]
  667. 00000668  7801                     moveq.l    D4, 0x01
  668. 0000066A  544F                     addq.w     A7, 2
  669. 0000066C  6038                     bra        +0x3A /* 000006A6 */
  670. label0000066E:
  671. 0000066E  2F04                     move.l     -[A7], D4
  672. 00000670  4878 002E                push.l     0x2E /* '.' */
  673. 00000674  4EAD DB26                jsr        [A5 - 0x24DA]
  674. 00000678  2448                     movea.l    A2, A0
  675. 0000067A  200A                     move.l     D0, A2
  676. 0000067C  504F                     addq.w     A7, 8
  677. 0000067E  6724                     beq        +0x26 /* 000006A4 */
  678. 00000680  42A7                     clr.l      -[A7]
  679. 00000682  42A7                     clr.l      -[A7]
  680. 00000684  2F0A                     move.l     -[A7], A2
  681. 00000686  4EAD DD80                jsr        [A5 - 0x2280]
  682. 0000068A  584F                     addq.w     A7, 4
  683. 0000068C  2F08                     move.l     -[A7], A0
  684. 0000068E  2F0B                     move.l     -[A7], A3
  685. 00000690  4EBA FBD2                jsr        [PC - 0x42E /* 00000264 */]
  686. 00000694  3600                     move.w     D3, D0
  687. 00000696  2F0A                     move.l     -[A7], A2
  688. 00000698  4EAD DD88                jsr        [A5 - 0x2278]
  689. 0000069C  4A43                     tst.w      D3
  690. 0000069E  4FEF 0014                lea.l      A7, [A7 + 0x14]
  691. 000006A2  6608                     bne        +0xA /* 000006AC */
  692. label000006A4:
  693. 000006A4  5284                     addq.l     D4, 1
  694. label000006A6:
  695. 000006A6  7002                     moveq.l    D0, 0x02
  696. 000006A8  B880                     cmp.l      D4, D0
  697. 000006AA  6FC2                     ble        -0x3C /* 0000066E */
  698. label000006AC:
  699. 000006AC  3F05                     move.w     -[A7], D5
  700. 000006AE  4EAD DB0E                jsr        [A5 - 0x24F2]
  701. 000006B2  544F                     addq.w     A7, 2
  702. label000006B4:
  703. 000006B4  4A43                     tst.w      D3
  704. 000006B6  6614                     bne        +0x16 /* 000006CC */
  705. 000006B8  2453                     movea.l    A2, [A3]
  706. 000006BA  256A 0600 0608           move.l     [A2 + 0x608], [A2 + 0x600]
  707. 000006C0  256A 0600 0604           move.l     [A2 + 0x604], [A2 + 0x600]
  708. 000006C6  022A 007F 060C           andi.b     [A2 + 0x60C], 0x7F
  709. label000006CC:
  710. 000006CC  3003                     move.w     D0, D3
  711. 000006CE  5C4F                     addq.w     A7, 6
  712. 000006D0  4CDF 0C38                movem.l    D3,D4,D5,A2,A3, [A7]+
  713. 000006D4  4E75                     rts
  714. fn000006D6:
  715. 000006D6  2F0A                     move.l     -[A7], A2
  716. 000006D8  246F 0008                movea.l    A2, [A7 + 0x8]
  717. 000006DC  2F0A                     move.l     -[A7], A2
  718. 000006DE  4EAD E428                jsr        [A5 - 0x1BD8]
  719. 000006E2  2F0A                     move.l     -[A7], A2
  720. 000006E4  4EAD DD40                jsr        [A5 - 0x22C0]
  721. 000006E8  2F0A                     move.l     -[A7], A2
  722. 000006EA  4EAD E7A8                jsr        [A5 - 0x1858]
  723. 000006EE  486A 0010                pea.l      [A2 + 0x10]
  724. 000006F2  A928                     syscall    InvalRect
  725. 000006F4  4EAD DD48                jsr        [A5 - 0x22B8]
  726. 000006F8  4FEF 000C                lea.l      A7, [A7 + 0xC]
  727. 000006FC  245F                     movea.l    A2, [A7]+
  728. 000006FE  4E75                     rts
  729. 00000700  0000 0000                ori.b      D0, 0x0
  730. 00000704  0000 0000                ori.b      D0, 0x0
  731. 00000708  0000 0000                ori.b      D0, 0x0
  732.